package com.gwall.test.plateform.model;

import lombok.Data;

import java.util.List;


@Data
public class PagerResult<T> extends CommonResult {

    private PagerModel<T> result;

    /**
     * 封装分页结果
     */
    @Data
    public static class PagerModel<T> {
        private Long page;
        private Long total;
        private List<T> rows;
    }
}
